package com.wanda.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.wanda.model.UnitModel;
import com.wanda.model.UnitPBModel;

public interface UnitService {
	public void insertUnit(UnitModel model);//添加单元
	public int updateUnit(UnitModel model);//修改单元
	public int deleteUnit(UnitModel model);//删除单元
	public UnitModel selectById(String id);//用ID查询单元
	public List<UnitPBModel> selectAll();//查询所有
	public List<UnitModel> selectBySql(@Param("SearchSql")String SearchSql);//查询
	public List<UnitPBModel> selectAlll(String tel);

}
